<template>
  <div class="tableList">
    <iTable :list="list"></iTable>
  </div>
</template>

<script>
import iTable from './iTable.vue'
import {faultList} from "../../../../api/api/LargeScreenData.js";

export default {
  name: "title",
  data() {
    return {
      list: []
    }
  },
  components: {iTable},
  watch: {},
  mounted() {
    this.getData()
  },
  methods: {
    async getData() {
      try {
        const res = await faultList();
        this.list = res.data;
      } catch (err) {
        console.error(err);
      }
    },
  },
}
</script>
<style lang="scss" scoped>
.tableList {
  position: relative;
  width: 100%;
  height: calc(100% - 0px);
}
</style>
